<template>
	<view class="shop-car">
		<uni-badge class="shop-car-badge" text="1" type="error" :is-dot="true" absolute="rightTop" size="normal">
			<view class="shop-car-icon">
				<image src="/static/icon/购物车.png" mode=""></image>
			</view>
		</uni-badge>
	</view>
</template>

<script>
	export default {
		name:"ShopCar",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.shop-car {
		width: 104rpx;
		height: 100rpx;
		background-color: rgba(255, 255, 255, 0.8);
		position: fixed;
		right: 0;
		bottom: 220rpx;
		border-top-left-radius: 40rpx;
		border-bottom-left-radius: 32rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		.shop-car-badge {
			width: 60%;
			height: 60%;
			.shop-car-icon {
				width: 100%;
				height: 100%;
				image {
					width: 100%;
					height: 100%;
				}
			}
		}
	}
</style>